package ren.xxpure.service;

import ren.xxpure.entity.CommonResult;
import ren.xxpure.entity.User;

public interface UserService {
	CommonResult<String> login(String userName, String password);

	CommonResult<String> logout();

	CommonResult<User> register(User user);

	CommonResult<User> info();

	CommonResult<String> update(User user);
}
